/**
 * 
 */
package org.ejc.struts.registration;

import java.io.Serializable;

import org.apache.struts.validator.ValidatorForm;

/**
 * @author Brian Boyle
 * Form for payment.
 * 
 * @struts.form name="paymentForm"
 */
public class PaymentForm extends ValidatorForm implements Serializable {

	private Double paymentAmount;
	private Integer priceId;
	private Integer priceTypeId;
	private boolean isExecutiveAdmin;
	
	/**
	 * @return Returns the paymentAmount.
	 */
	public Double getPaymentAmount() {
		return paymentAmount;
	}
	/**
	 * @param paymentAmount The paymentAmount to set.
	 * 
	 * 
	 */
	public void setPaymentAmount(Double paymentAmount) {
		this.paymentAmount = paymentAmount;
	}
	/**
	 * @return Returns the priceId.
	 */
	public Integer getPriceId() {
		return priceId;
	}
	/**
	 * @param priceId The priceId to set.
	 */
	public void setPriceId(Integer priceId) {
		this.priceId = priceId;
	}
	/**
	 * @return Returns the priceTypeId.
	 */
	public Integer getPriceTypeId() {
		return priceTypeId;
	}
	/**
	 * @param priceTypeId The priceTypeId to set.
	 * @struts.validator type="required,intRange"
	 * @struts.validator-args arg0resource="page.payment.pricetype"
	 * @struts.validator-var name="min" value="1"
	 * @struts.validator-var name="max" value="2000"
	 * 
	 */
	public void setPriceTypeId(Integer priceTypeId) {
		this.priceTypeId = priceTypeId;
	}
	/**
	 * @return Returns the isExecutiveAdmin.
	 */
	public boolean isExecutiveAdmin() {
		return isExecutiveAdmin;
	}
	/**
	 * @param isExecutiveAdmin The isExecutiveAdmin to set.
	 */
	public void setExecutiveAdmin(boolean isExecutiveAdmin) {
		this.isExecutiveAdmin = isExecutiveAdmin;
	}
	
}
